<%@ taglib prefix="date" uri="http://www.springframework.org/tags/form" %>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<!DOCTYPE html>
<%
    String path = request.getContextPath();
    String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<html  ng-app="userFirst">
<head>
    <meta charset="utf-8">
    <title>智能报修系统——个人资料！</title>
    <link  type="text/css"  rel="stylesheet" href="<%= request.getContextPath()%>resources/css/style.css" />
    <link rel="stylesheet" type="text/css" href="<%= request.getContextPath()%>resources/css/head.css"/>
    <link rel="stylesheet" type="text/css" href="<%= request.getContextPath()%>resources/css/staffLeft.css"/>
    <link rel="stylesheet" type="text/css" href="<%= request.getContextPath()%>resources/css/userFirst.css" />

    <%--交互样式所需css--%>
    <link rel="stylesheet" type="text/css" href="<%= request.getContextPath()%>resources/css/jNotify.jquery.css"/>
    <script type="text/javascript" src="<%= request.getContextPath()%>resources/js/jquery.js"></script><!--jquery压缩包-->
    <script type="text/javascript" src="<%= request.getContextPath()%>resources/js/script.js"></script><!--用户评分代码-->
    <script type="text/javascript" src="<%= request.getContextPath()%>resources/js/jquery.min.js"></script>	<!--另外一个jquery压缩包-->
    <script type="text/javascript" src="<%= request.getContextPath()%>resources/js/uploadImg.js" charset="utf-8"></script><!--上传图片的代码-->
    <script type="text/javascript" src="<%= request.getContextPath()%>resources/js/angular.min.js" charset="utf-8"></script>
    <script type="text/javascript" src="<%= request.getContextPath()%>resources/js/userFirstController.js" charset="utf-8"></script>
</head>
<body ng-controller="userFirstController">
<!--页面的头部开始-->

<style>
    #operation a:link,a:visited,a:hover{
        text-decoration: none;
        color: #4e7500;
    }
</style>

<div id="head">
    <div id="head_con">
        <p class="title">智能报修系统</p>
        <div id="head_right">
            <a href="#">收件箱</a>
            <button id="downloadAPP">APP下载</button>
        </div>
    </div>
</div>
<!--页面的头部结束-->

<!--页面的左边开始-->
<div id="staffLeft">
    <div id="staffLeftCon">
        <div id="staffInfo" >
            <p class="staffName">{{user.userName}}</p>
            <p class="staffNum">{{user.userAccount}}</p>
            <p class="place">用户</p>
        </div>
        <div id="operation">
            <ul >
                <a href="/homePage"><li id="homepage"   >首页</li></a>
                <a href="/progressRepair"> <li  id="progressRepair"  ng-click="baoxiujingdu()">报修进度</li></a>
                <a href="/historicalWorkList"><li  id="historicalWorkList"  ng-click="lookHistoryWork()">历史工单</li></a>
                <a HREF="/personalData"><li id="personalData" class="active" >个人资料</li></a>
            </ul>
        </div>
        <div class="phoneNum">
            {{servicephone.name}} :{{servicephone.content}}
        </div>
    </div>
</div>
<!--页面的左边结束-->
<!--学生个人资料开始-->
<div id="myInfor" class="search" >
    <div class="allPersonInfor">
        姓名：<input type="text" class="personname" readonly="readonly" ng-model="user.userName"  disabled="disabled" /><br />
        地址：<input type="text" ng-model="user.userAddress"  class="personalInfor" /><br />
        电话：<input type="text" ng-model="user.userPhone"  class="personalInfor"  maxlength="11"/><br />
        <input type="button"  ng-click="updateStudentInfo()" value="保存" class="personalInforSave" /><br />
    </div>
</div>
<!--学生个人资料结束-->

<!--教师个人资料开始-->
<div id="teacherInfor" class="search" >
    <div class="allPersonInfor teacherInfor">
        姓名：<input  disabled="disabled" type="text" value="黎子新" class="personalInfor" /><br />
        工号：<input  disabled="disabled" type="text" value="1508787878" class="personalInfor" /><br />
        部门：<input  disabled="disabled" type="text" value="网络部" class="personalInfor" /><br />
        电话：<input  disabled="disabled" type="text" value="12233344455" class="personalInfor" maxlength="11" /><br />
        地址：<input type="text" value="四川旅游学院" class="personalInfor" /><br />
        <input type="button" value="保存" class="personalInforSave teacherSave" /><br />
    </div>
</div>
<!--教师个人资料结束-->


<!--版权声明开始-->
<div id="footer" class="footer">
    <p class="footerWord">版权所有&nbsp;四川旅游学院</p>
</div>
<!--版权声明结束-->

<script type="text/javascript" src="<%= request.getContextPath()%>resources/js/jquery-3.1.1.min.js"></script>
<script type="text/javascript" src="<%= request.getContextPath()%>resources/js/jNotify.jquery.js"></script>
<script type="text/javascript">
    var teacherInfor = document.getElementById("teacherInfor");
    teacherInfor.style.display = 'none';
</script>
</body>

</html>
